package com.javasm.entity;

import java.io.Serializable;

/**
 * @author WangJie
 * @version 1.0
 * @Description:
 * @date: 2020/7/20 10:51
 * @since JDK 1.8
 */
public class Book implements Serializable {
    private Integer bid;
    private String book_name;
    private String author_name;
    private String coverUrl;
    private String description;
    private Integer word_count;
    private Integer status;
    private Integer attribution;
    private Integer tsb_id;
    private Integer ssb_id;
    private String tsb_name;
    private String ssb_name;

    public Book() {
    }

    public Book(Integer bid, String book_name, String author_name, String coverUrl, String description, Integer word_count, Integer status, Integer attribution, Integer tsb_id, Integer ssb_id, String tsb_name, String ssb_name) {
        this.bid = bid;
        this.book_name = book_name;
        this.author_name = author_name;
        this.coverUrl = coverUrl;
        this.description = description;
        this.word_count = word_count;
        this.status = status;
        this.attribution = attribution;
        this.tsb_id = tsb_id;
        this.ssb_id = ssb_id;
        this.tsb_name = tsb_name;
        this.ssb_name = ssb_name;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bid=" + bid +
                ", book_name='" + book_name + '\'' +
                ", author_name='" + author_name + '\'' +
                ", coverUrl='" + coverUrl + '\'' +
                ", description='" + description + '\'' +
                ", word_count=" + word_count +
                ", status=" + status +
                ", attribution=" + attribution +
                ", tsb_id=" + tsb_id +
                ", ssb_id=" + ssb_id +
                ", tsb_name='" + tsb_name + '\'' +
                ", ssb_name='" + ssb_name + '\'' +
                '}';
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getAuthor_name() {
        return author_name;
    }

    public void setAuthor_name(String author_name) {
        this.author_name = author_name;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getWord_count() {
        return word_count;
    }

    public void setWord_count(Integer word_count) {
        this.word_count = word_count;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAttribution() {
        return attribution;
    }

    public void setAttribution(Integer attribution) {
        this.attribution = attribution;
    }

    public Integer getTsb_id() {
        return tsb_id;
    }

    public void setTsb_id(Integer tsb_id) {
        this.tsb_id = tsb_id;
    }

    public Integer getSsb_id() {
        return ssb_id;
    }

    public void setSsb_id(Integer ssb_id) {
        this.ssb_id = ssb_id;
    }

    public String getTsb_name() {
        return tsb_name;
    }

    public void setTsb_name(String tsb_name) {
        this.tsb_name = tsb_name;
    }

    public String getSsb_name() {
        return ssb_name;
    }

    public void setSsb_name(String ssb_name) {
        this.ssb_name = ssb_name;
    }
}
